﻿
// ReSharper disable InconsistentNaming
using Gp.Scripts.Core;
using Gp.Scripts.GUI;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
using NRFramework;

namespace Gp.Scripts.GUI 
{
    public class PanelStartScreen_WidgetPlayStoryBase : GUIWidget
    {		protected Animator mWidgetPlayStory_Animator;		protected Animator mBrushTransition_Animator;		protected Button mBtnClose_Button;		protected Animator mLoadSaveGroup_Animator;
        protected override void OnBindCompsAndEvents() 
        {			mWidgetPlayStory_Animator = (Animator)viewBehaviour.GetComponentByIndexs(0, 0);			mBrushTransition_Animator = (Animator)viewBehaviour.GetComponentByIndexs(1, 0);			mBtnClose_Button = (Button)viewBehaviour.GetComponentByIndexs(2, 0);			mLoadSaveGroup_Animator = (Animator)viewBehaviour.GetComponentByIndexs(3, 0);			BindEvent(mBtnClose_Button);		}

        protected override void OnUnbindCompsAndEvents() 
        {			UnbindEvent(mBtnClose_Button);			mWidgetPlayStory_Animator = null;			mBrushTransition_Animator = null;			mBtnClose_Button = null;			mLoadSaveGroup_Animator = null;		}
    }
}